package data;
import java.util.Vector;
import org.example.comunicationInputSchema.ReccomendedCinemaDocument.ReccomendedCinema.Cinema.Film;

public class CinemaScore {

	
	int idCinema;
	
	float score;
	
	Vector<CandidateScore> films;
	
	

	public  CinemaScore(int id){
		idCinema=id;
	}
	
	public int getIdCinema() {
		return idCinema;
	}

	public void setIdCinema(int idCinema) {
		this.idCinema = idCinema;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public Vector<CandidateScore> getFilms() {
		return films;
	}

	public void setFilms(Vector<CandidateScore> films) {
		this.films = films;
	}

	public void addFilm(CandidateScore film){
		
		if (this.films==null)
			this.films=new Vector<CandidateScore>();	
		this.films.add(film);
	}
	

	
}
